#include "mstring.h"


int mstrlen(const char *s)
{
    if(!s) return 0;
    char *end = s;
    while(end != 0){
        ++end;
    }
    return end - s;
}
